﻿<%@ Page Title="" Language="C#" MasterPageFile="~/masterPage/Site.Master" AutoEventWireup="true" CodeBehind="ListadoComandas.aspx.cs" Inherits="new_Seminario.Comandas.ListadoComandas" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h2>Listado Comandas</h2>
    <p>
        <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
            ConnectionString="<%$ ConnectionStrings:BarCafeConnectionString %>" 
            SelectCommand="SELECT * FROM [Comanda]"></asp:SqlDataSource>
    </p>
    <p>
        Listado de Comandas Entregadas
        <asp:GridView ID="GridView1" runat="server" 
            AllowPaging="True" AutoGenerateColumns="False" DataKeyNames="Nro_Comanda" 
            DataSourceID="SqlDataSource1" Width="912px">
            <Columns>
                <asp:BoundField DataField="Nro_Comanda" HeaderText="Nro_Comanda" 
                    InsertVisible="False" ReadOnly="True" SortExpression="Nro_Comanda" />
                <asp:BoundField DataField="Id_Estado" HeaderText="Id_Estado" 
                    SortExpression="Id_Estado" />
                <asp:BoundField DataField="Id_Reserva" HeaderText="Id_Reserva" 
                    SortExpression="Id_Reserva" Visible="False" />
                <asp:BoundField DataField="Reserva_Nro_Reserva" HeaderText="Reserva_Nro_Reserva" 
                    SortExpression="Reserva_Nro_Reserva" />
            </Columns>

            <emptydatatemplate>

  
            No se encontraron datos.  

        </emptydatatemplate> 
        </asp:GridView>
    </p>
    <p>
        &nbsp;</p>
</asp:Content>
